package com.hkemmm.shop.dao;

import com.hkemmm.shop.entity.Order_detail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface Order_detailMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Order_detail record);

    int insertSelective(Order_detail record);

    Order_detail selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Order_detail record);

    int updateByPrimaryKey(Order_detail record);

    List<Order_detail> selectByOrderId(Integer oid);

    List<Order_detail> selectComment(@Param("uid") Integer uid, @Param("status") Integer status);

    List<Order_detail> selectNoComment(@Param("uid") Integer uid);

    int updateStatus(@Param("id") Integer id, @Param("status") Integer status);

}